package com.mdd.common.enums.pay;

public enum TradePayStatusEnum {

    //交易状态：0、待交易 1、交易成功 2、交易失败
    PENDING_TRADE(0,"待交易"),
    TRADE_SUCCESS(1,"交易成功"),
    TRADE_FAILURE(2,"交易失败");

    private final int code;
    private final String msg;

    TradePayStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
